package com.cby.user.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author wskh
 * @since 2021-11-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="CbyUser对象", description="")
public class CbyUser implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    private String name;

    private String nickName;

    private String password;

    private String email;

    private String phone;

    @ApiModelProperty(value = "身份id")
    private String identityId;

    @ApiModelProperty(value = "个人简介")
    private String detail;

    @TableField(fill = FieldFill.INSERT)
    private Date insertTime;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;


}
